Court orders medical examination of journalist