They did know before hand but the then Government led by Cameron never expected to lose initially so this wouldn't have been an issue, the argument is that bringing this to the high courts is making a mockery of the will of the people, the Government made it clear at the start of the campaign that the will of the people will be honoured and this is not for a parlimentary decision, in fact this was clearly stated on the Pro-Remain leaflet that every household received so this is why there is an argument, now because Leave won it became a decision excluding the parliments will, it means they should not be able to challenge it which the actual bexit decision hasn't been, but in order to leave which we have to trigger article 50 so its part of the process that has been deemed the will of the public already. The remoaners are trying to use every tactic going to delay and block Brexit and this been one of them.
Because the only way we can formally leave the EU is by triggering article 50 then because they have no actual say on the result they wish to shackle a ball and chain to the process, if this decision was to be held then its highly likely we would not leave the EU because we would have to reveal our hand to parliment and once everyone has agreed to it article 50 would be triggered only if the parlimentary conditions are met... in comes Brussels who see what we want and need to trigger the article and they just turn around and say we are not agreeing to that deal, so back to the table and yet more delays, the EU doesn't want us to go or to lose our contributions so they will play the exact tactics that the remoaners are doing to drag this out, this then becomes a catch 22 to leaving, its been done on purpose and makes a mockery of democracy.
As this was a high court decision it will now go to the supreme court on appeal who will have to take into account everything that the high court can overlook, this includes the wording on the leaflets, the impact such a decision could have on honouring the publics will of a Brexit and ensuring the publics will is carried through, its clear this decision will almost certainly damage the actual process of leaving and effect both the duration and what we could acheive in a deal so its very unlikely the Supreme Court will carry the verdict through but instead overrule it.
I have people on my FB with big smiley faces saying Brexit has been stopped, I have sadfully

had to inform them this is a decision on the actual terms of triggering article 50 and not the result of the referendum.