high court ruling on pregnancy